package com.pzj.dormitory.service;

import com.pzj.dormitory.entity.DormitoryAdmin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pzj.dormitory.form.SearchForm;
import com.pzj.dormitory.vo.PageVO;
import com.pzj.dormitory.vo.ResultVO;
import com.pzj.dormitory.form.RuleForm;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2024-04-28
 */
public interface DormitoryAdminService extends IService<DormitoryAdmin> {

   /**
    * 宿舍管理员登录
    * @param ruleForm
    * @return
    */
   public ResultVO login(RuleForm ruleForm);

   public PageVO list(Integer page,Integer pageSize);

   public PageVO search(SearchForm searchForm);

}
